<template>
  <div id="footer-nav">
    <ul>
      <router-link to="/film/newplaying" active-class="active" tag="li">
        <span class="iconfont icon-dianying"></span>
        <p>电影</p>
      </router-link>
      <router-link to="/cinema" active-class="active" tag="li">
        <span class="iconfont icon-yingyuan"></span>
        <p>影院</p>
      </router-link>
      <router-link to="/center" active-class="active" tag="li">
        <span class="iconfont icon-wode"></span>
        <p>我的</p>
      </router-link>
    </ul>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang='scss'>
#footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  height: 1.1rem;
  text-align: center;
  background-color: #fff;
  color: #7a7e83;
  width: 100%;
  z-index: 9;
  ul {
    display: flex;
    align-items: center;
    margin-top: 0.16rem;
    li {
      display: flex;
      flex-direction: column;
      flex: 1;
      height: 0.3rem;
      font-size: 0.3rem;
      cursor: pointer;
      &.active {
        color: red;
      }
      p {
        margin-top: 2px;
      }
      span {
        font-size: 0.4rem;
      }
    }
  }
}
</style>